package com.zhiyume.service.common;

public enum UserEnum {
    //管理员状态(正常,封号,锁定,注销),(0,1,2,3)
    USER_STATUS_NORMAL(0,"正常"),
    USER_STATUS_CLOSED(1,"封号"),
    USER_STATUS_LOCKED(2,"锁定"),
    USER_STATUS_CACELED(3,"注销"),

    //性別:0-男,1-女,2-保密
    GENDER_MALE(0,"男"),
    GENDER_FAMALE(1,"女"),
    GENDER_SECERT(2,"保密"),


    USER_TOKEN_TIME(604800,"token保存时间");
    private int value;
    private String description;
    UserEnum(int value,String description){
        this.value = value;
        this.description=description;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
